﻿<Window x:Class="Schedulr.Views.Dialogs.AuthenticationDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Authenticate with Flickr"
        Height="600" Width="800" MinHeight="450" MinWidth="600"
        WindowStartupLocation="CenterOwner"
        ResizeMode="CanResizeWithGrip">
    <DockPanel LastChildFill="True" Margin="10">
        <StackPanel DockPanel.Dock="Top">
            <TextBlock FontSize="14">Before you continue, you must authenticate with Flickr and authorize this application to access your account.</TextBlock>
        </StackPanel>
        <DockPanel DockPanel.Dock="Bottom" LastChildFill="True">
            <StackPanel DockPanel.Dock="Right" Orientation="Horizontal">
                <Button Content="OK" Margin="0,0,5,0" x:Name="okButton" Click="okButton_Click" />
                <Button Content="Cancel" x:Name="cancelButton" Click="cancelButton_Click" />
            </StackPanel>
            <StackPanel>
                <TextBlock VerticalAlignment="Center"><Hyperlink x:Name="authenticationHyperlink" Click="authenticationHyperlink_Click">Alternatively, launch a separate web browser to authenticate</Hyperlink></TextBlock>
            </StackPanel>
        </DockPanel>
        <Border Style="{DynamicResource BorderStyle}" Padding="5" Margin="0,5,0,5">
            <WebBrowser x:Name="authenticationWebBrowser" />
        </Border>
    </DockPanel>
</Window>